<?php


/**
* Puree CMS
* http://www.molotsoft.ru
*
* @package Puree_CMS
* @subpackage Models
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: attachment_document.php 1107 2010-03-25 13:03:13Z molotsoft@gmail.com $
* @link $HeadURL: http://puree-cms.googlecode.com/svn/trunk/models/attachment_document.php $
*/


class AttachmentDocument extends AttachmentModel {

/******************************************************************************/

var $name = 'AttachmentDocument';

var $displayField = 'caption';

var $order = array(
	'AttachmentDocument.position' => 'ASC',
	'AttachmentDocument.id' => 'ASC'
);

var $actsAs = array(
	'Admin.Automate',
	'Containable'
);

var $fieldInputSchema = array(
	'document' => array('tab' => 'general')
);

var $scopeConditions = array(
	'AttachmentDocument.document <>' => ''
);

/******************************************************************************/

}


?>